gpsbabel.git
13 years agoMake valgrind happier by initializing all the things in geocahe data ctor.
robertlipe@gmail.com [Sat, 30 Mar 2013 03:42:57 +0000 (03:42 +0000)]
Make valgrind happier by initializing all the things in geocahe data ctor.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4368 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoTreat geocache_data more like a class than a bag of bytes.
robertlipe [Sat, 30 Mar 2013 03:25:32 +0000 (03:25 +0000)]
Treat geocache_data more like a class than a bag of bytes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4367 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoKick out almost all of the NEWTIME props.
robertlipe [Mon, 25 Mar 2013 02:11:58 +0000 (02:11 +0000)]
Kick out almost all of the NEWTIME props.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4366 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMinor cleanups in geo's new reader.
robertlipe [Mon, 25 Mar 2013 02:06:13 +0000 (02:06 +0000)]
Minor cleanups in geo's new reader.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4365 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoQXmlStreamWriter was fun. Let's try QXmlStreamReader. Actually, for a
robertlipe [Mon, 25 Mar 2013 01:18:38 +0000 (01:18 +0000)]
QXmlStreamWriter was fun.  Let's try QXmlStreamReader.  Actually, for a
simple format like "geo", it plays out quite nicely.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4364 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoa little more cleanup of kml_mt_simple_array.
tsteven4 [Sun, 24 Mar 2013 20:10:50 +0000 (20:10 +0000)]
a little more cleanup of kml_mt_simple_array.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4363 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoset exit status on valgrind failures in vtesto to allow automated test to detect...
tsteven4 [Sun, 24 Mar 2013 13:13:44 +0000 (13:13 +0000)]
set exit status on valgrind failures in vtesto to allow automated test to detect any errors.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4362 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAllow running indivdual tests in vtesto.Z
robertlipe@gmail.com [Sun, 24 Mar 2013 05:10:54 +0000 (05:10 +0000)]
Allow running indivdual tests in vtesto.Z

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4361 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix reference counting issues in gdb.cc and waypt.cc exposed by valgrind.Z
robertlipe@gmail.com [Sun, 24 Mar 2013 05:10:32 +0000 (05:10 +0000)]
Fix reference counting issues in gdb.cc and waypt.cc exposed by valgrind.Z

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4360 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoReduce unnecessary suffering in KML SimpleData writer.
robertlipe [Sat, 23 Mar 2013 23:01:19 +0000 (23:01 +0000)]
Reduce unnecessary suffering in KML SimpleData writer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4359 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoCleanup most of the no-brainer warnings hocked up by clang.
robertlipe [Sat, 23 Mar 2013 22:52:12 +0000 (22:52 +0000)]
Cleanup most of the no-brainer warnings hocked up by clang.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4358 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoRemove hack from GPX writer that over-aggressively quoted apostrophes. Doing
robertlipe [Sat, 23 Mar 2013 21:25:32 +0000 (21:25 +0000)]
Remove hack from GPX writer that over-aggressively quoted apostrophes. Doing
that inside a CDATA, for example, is Very Bad.
Manually edited the GPS reference files that were affected - all of which
 were our own data, anyway...

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4357 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMove the URL link and text from C strings to QStrings.
robertlipe [Sat, 23 Mar 2013 21:09:32 +0000 (21:09 +0000)]
Move the URL link and text from C strings to QStrings.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4356 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agofix booboo with hasLinkText() that can lead to segmentation faults.
tsteven4 [Sat, 23 Mar 2013 17:41:52 +0000 (17:41 +0000)]
fix booboo with hasLinkText() that can lead to segmentation faults.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4355 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoReplace the old kml writer with one based on QXmlStreamWriter.
tsteven4 [Sat, 23 Mar 2013 00:16:02 +0000 (00:16 +0000)]
Replace the old kml writer with one based on QXmlStreamWriter.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4354 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoremove duplicate code block from r3076. only 239 more clang static analyzer errors...
tsteven4 [Sun, 17 Mar 2013 15:06:21 +0000 (15:06 +0000)]
remove duplicate code block from r3076.  only 239 more clang static analyzer errors to go.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4353 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agogpx writer, garminextensions option: fix bug with magic values causing extension...
tsteven4 [Sat, 16 Mar 2013 14:38:06 +0000 (14:38 +0000)]
gpx writer, garminextensions option: fix bug with magic values causing extension data to be lost.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4352 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agogpx writer: improve schema conformance and make reasonable assumptions for garminexte...
tsteven4 [Sat, 16 Mar 2013 02:12:36 +0000 (02:12 +0000)]
gpx writer: improve schema conformance and make reasonable assumptions for garminextensions option.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4351 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agodelete obsolete parameters in gpx_write_common_*.
tsteven4 [Sat, 16 Mar 2013 01:20:41 +0000 (01:20 +0000)]
delete obsolete parameters in gpx_write_common_*.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4350 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agogpx: passthrough xmlns attributes. This resolves a bug where namespaces could be...
tsteven4 [Fri, 15 Mar 2013 01:51:01 +0000 (01:51 +0000)]
gpx: passthrough xmlns attributes.  This resolves a bug where namespaces could be used but undeclared.
gpx: do not write schemaLocation attributes.  This resolves a bug where the version referenced by schemaLocation didn't match the version we used.
gpx writer: reduce the amount of forced formatting, letting the QXmlStreamWriter formatter do its thing.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4349 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoreduce overwritten of temporary test files and reduce removal of files from another...
tsteven4 [Thu, 14 Mar 2013 13:36:33 +0000 (13:36 +0000)]
reduce overwritten of temporary test files and reduce removal of files from another test.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4348 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agofix a few more compare order issues in the test cases.
tsteven4 [Thu, 14 Mar 2013 00:41:32 +0000 (00:41 +0000)]
fix a few more compare order issues in the test cases.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4347 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoscripted correction of compare argument order in test cases.
tsteven4 [Thu, 14 Mar 2013 00:27:23 +0000 (00:27 +0000)]
scripted correction of compare argument order in test cases.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4346 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoremove more forced formatting in the new gpx writer.
tsteven4 [Sun, 10 Mar 2013 19:40:23 +0000 (19:40 +0000)]
remove more forced formatting in the new gpx writer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4345 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoremove some forced formatting in the new gpx writer.
tsteven4 [Sun, 10 Mar 2013 18:36:26 +0000 (18:36 +0000)]
remove some forced formatting in the new gpx writer.
this required reference file changes which were manually validated.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4344 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd a test case for the gpx writer trk/extensions with chains.
tsteven4 [Sat, 9 Mar 2013 21:59:21 +0000 (21:59 +0000)]
Add a test case for the gpx writer trk/extensions with chains.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4343 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoPencil-whipped the remaining OLDGPX cases and convinced myself we'd delivered
robertlipe [Sat, 9 Mar 2013 21:45:22 +0000 (21:45 +0000)]
Pencil-whipped the remaining OLDGPX cases and convinced myself we'd delivered
parity.  Removed fprintf style output totally in favor in Qt XML serializer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4342 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix gpx reader difficulty with elements that are not passed through who have parents...
tsteven4 [Tue, 5 Mar 2013 13:35:41 +0000 (13:35 +0000)]
Fix gpx reader difficulty with elements that are not passed through who have parents that are.
Make fprint_xml_chain, garmin_fs_xml_fprint and gpx_write_common_extensions mutually exclusive.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4341 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoRemove the bulky/uncontest[ed|able] parts of OLDGPX from gpx.cc that
robertlipe [Tue, 5 Mar 2013 04:50:17 +0000 (04:50 +0000)]
Remove the bulky/uncontest[ed|able] parts of OLDGPX from gpx.cc that
aren't likely to conflict with forthcoming FS/Garmin commit.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4340 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd doc for Mapbar. Thanx, AzureSky.
robertlipe [Mon, 4 Mar 2013 17:38:44 +0000 (17:38 +0000)]
Add doc for Mapbar.  Thanx, AzureSky.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4339 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix classic-2
robertlipe [Fri, 1 Mar 2013 16:25:01 +0000 (16:25 +0000)]
Fix classic-2

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4338 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd missing GC html, text references.
robertlipe [Fri, 1 Mar 2013 16:20:30 +0000 (16:20 +0000)]
Add missing GC html, text references.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4337 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdditional fixes for mapbar.
robertlipe [Fri, 1 Mar 2013 16:18:28 +0000 (16:18 +0000)]
Additional fixes for mapbar.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4336 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd test & minor fixes for maggeo writer.
robertlipe [Thu, 28 Feb 2013 22:05:00 +0000 (22:05 +0000)]
Add test & minor fixes for maggeo writer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4335 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoRemove dead parse_date function.
robertlipe [Thu, 28 Feb 2013 21:48:03 +0000 (21:48 +0000)]
Remove dead parse_date function.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4334 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd (half-hearted) test for OSM writer.
robertlipe [Thu, 28 Feb 2013 21:45:38 +0000 (21:45 +0000)]
Add (half-hearted) test for OSM writer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4333 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd a test for HTML and TEXT output of a geocache.
robertlipe [Thu, 28 Feb 2013 21:40:56 +0000 (21:40 +0000)]
Add a test for HTML and TEXT output of a geocache.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4332 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd (somewhat bogus) bushnell trail writer test.
robertlipe [Thu, 28 Feb 2013 21:33:29 +0000 (21:33 +0000)]
Add (somewhat bogus) bushnell trail writer test.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4331 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd test cases for cetus track read.
robertlipe [Thu, 28 Feb 2013 21:25:10 +0000 (21:25 +0000)]
Add test cases for cetus track read.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4330 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoxiao jian cheng adds Mapbar support.
robertlipe [Thu, 28 Feb 2013 13:39:24 +0000 (13:39 +0000)]
xiao jian cheng adds Mapbar support.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4329 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd Adapt Mobile Keychain Pro to Skytraq, per Hans Suys.
robertlipe [Wed, 27 Feb 2013 16:38:51 +0000 (16:38 +0000)]
Add Adapt Mobile Keychain Pro to Skytraq, per Hans Suys.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4328 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix deps for gpx.cc.
robertlipe [Mon, 25 Feb 2013 06:40:52 +0000 (06:40 +0000)]
Fix deps for gpx.cc.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4327 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoTweak timestamp in gpx_garmin_extensions to make more suited for test suite.
robertlipe [Sun, 24 Feb 2013 21:33:17 +0000 (21:33 +0000)]
Tweak timestamp in gpx_garmin_extensions to make more suited for test suite.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4326 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAnother fix for new gpx writer, this time for the garmin special data Categories...
tsteven4 [Sun, 24 Feb 2013 20:26:14 +0000 (20:26 +0000)]
Another fix for new gpx writer, this time for the garmin special data Categories element.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4325 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix a couple of issues with the new gpx writer having to do with chains and garmin...
tsteven4 [Sun, 24 Feb 2013 18:13:28 +0000 (18:13 +0000)]
Fix a couple of issues with the new gpx writer having to do with chains and garmin special data.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4324 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agofix an infinite loop in the new gpx writer when a chained element has attributes.
tsteven4 [Sun, 24 Feb 2013 16:29:00 +0000 (16:29 +0000)]
fix an infinite loop in the new gpx writer when a chained element has attributes.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4323 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoImprove the new gpx writer wrt common extensions.
tsteven4 [Sat, 23 Feb 2013 23:24:43 +0000 (23:24 +0000)]
Improve the new gpx writer wrt common extensions.
There are still issues with unrecognized extensions.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4322 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix invalid output with "-o gpx,garminextensions=1" and the new gpx writer.
tsteven4 [Sat, 23 Feb 2013 22:20:03 +0000 (22:20 +0000)]
Fix invalid output with "-o gpx,garminextensions=1" and the new gpx writer.
There are still lots of issues with garmin extensions if the input and output are both gpx.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4321 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoSubclass QXmlStreamWriter. Use it to abstract the test for null strings
robertlipe [Thu, 21 Feb 2013 21:53:20 +0000 (21:53 +0000)]
Subclass QXmlStreamWriter.  Use it to abstract the test for null strings
(which is different for C Strings and QStrings) to avoid writing empty
XML tags.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4320 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoSeveral mechanical changes to make CentOS less whiney during a build.
robertlipe [Thu, 21 Feb 2013 07:07:00 +0000 (07:07 +0000)]
Several mechanical changes to make CentOS less whiney during a build.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4319 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoTurn back on new GPX writer. With this change, it passes for me on Centos 6.3
robertlipe [Thu, 21 Feb 2013 06:50:17 +0000 (06:50 +0000)]
Turn back on new GPX writer.  With this change, it passes for me on Centos 6.3
running in a VM.

The new GPX writer isn't actually *done* yet, but it'll get done only by
suffering...Pain builds character.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4318 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFall back to old GPX writer until I understand why Jenkins is unamused.
robertlipe [Wed, 20 Feb 2013 17:33:26 +0000 (17:33 +0000)]
Fall back to old GPX writer until I understand why Jenkins is unamused.
(It was actually my intention to leave the old writer on last night anyway.)

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4317 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd -w to ignore whitespace in testo.
robertlipe [Wed, 20 Feb 2013 05:57:29 +0000 (05:57 +0000)]
Add -w to ignore whitespace in testo.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4316 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMake a serious attack on the new XML serializer for GPX. This version actually
robertlipe [Wed, 20 Feb 2013 05:56:01 +0000 (05:56 +0000)]
Make a serious attack on the new XML serializer for GPX.  This version actually
totally passes our test suite, byte for byte, even when our old version was
kind of dumb.  There's still plenty of work to be done but it's at a point
where we could consider turning it on by default soon.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4315 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoShuffle test suite around some more, fixing order of COMPARE arguments,
robertlipe [Wed, 20 Feb 2013 05:26:27 +0000 (05:26 +0000)]
Shuffle test suite around some more, fixing order of COMPARE arguments,
splitting things into smaller files as we go.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4314 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoA new version of gpx.cc that passes a good percentage of the test suite with
robertlipe [Mon, 18 Feb 2013 06:53:36 +0000 (06:53 +0000)]
A new version of gpx.cc that passes a good percentage of the test suite with
the new Qt XML serializer.  Still not done, but not toally shabby.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4313 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMinor test changes: bust a few tests out and fix diff orders.
robertlipe [Mon, 18 Feb 2013 06:22:42 +0000 (06:22 +0000)]
Minor test changes: bust a few tests out and fix diff orders.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4312 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix order of diff args in arc-project.
robertlipe [Mon, 18 Feb 2013 06:02:38 +0000 (06:02 +0000)]
Fix order of diff args in arc-project.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4311 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoDon't double UTF-8 encode in gbfputs(QString, gbfile).
robertlipe [Mon, 18 Feb 2013 05:38:40 +0000 (05:38 +0000)]
Don't double UTF-8 encode in gbfputs(QString, gbfile).

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4310 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoStart scratching in new GPX writer, turned off right now.
robertlipe [Mon, 18 Feb 2013 04:39:31 +0000 (04:39 +0000)]
Start scratching in new GPX writer, turned off right now.
  Problems remain in output encoding and some of the darker corners (GPX 1.1,
  preserving unknown trails, weird header munging, etc.) aren't implemented yet.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4309 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoUse correct temp var in avltree.
robertlipe [Tue, 12 Feb 2013 01:37:05 +0000 (01:37 +0000)]
Use correct temp var in avltree.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4308 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoCorrect over-aggressive xstrdup removal.
robertlipe [Tue, 12 Feb 2013 01:28:38 +0000 (01:28 +0000)]
Correct over-aggressive xstrdup removal.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4307 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoTested:
robertlipe [Mon, 11 Feb 2013 21:50:47 +0000 (21:50 +0000)]
Tested:
  Move icon_descr to a reference-counted QString, freeing us from the horror
  of the 'is_dynamic? xfree()' mess and the issues in waypt_dupe.  The code
  is better in some ways, but suffers now while there are still a lot of
  const char*/QString edges, but there's only so much you can do in one commit
  and still keep the tree running.

  Builds Mac and Mingw-cross.  valgrind runs on Ubuntu.  (and caught a few
  errors as I introduced them.)

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4306 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd, use an abstraction for testing url and url_link_text in preparation
robertlipe [Mon, 11 Feb 2013 03:17:22 +0000 (03:17 +0000)]
Add, use an abstraction for testing url and url_link_text in preparation
for the day when it's not a string pointer.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4305 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMake configure friendly wrt Qt on RHEL/OEL/SL/CENTOS/FEDORA.
tsteven4 [Mon, 11 Feb 2013 01:27:08 +0000 (01:27 +0000)]
Make configure friendly wrt Qt on RHEL/OEL/SL/CENTOS/FEDORA.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4304 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoCoastalExplorer: Allow compilation to succeed without expat.
tsteven4 [Sun, 10 Feb 2013 23:31:06 +0000 (23:31 +0000)]
CoastalExplorer: Allow compilation to succeed without expat.
Note that using this format, and many others, witout expat will result in fatal run time errors.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4303 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoBeging the long, hard road of moving core structures from char * to QString.
robertlipe [Sun, 10 Feb 2013 06:02:10 +0000 (06:02 +0000)]
Beging the long, hard road of moving core structures from char * to QString.
Mostly, this just compartmentalizes the pain of character set conversions in
xmlgeneric.cc while letting them accpet QStrings.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4302 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFix use-after-free of temp in gbfile. That gets Ubuntu back to a happy place.
robertlipe@gmail.com [Sun, 10 Feb 2013 03:38:11 +0000 (03:38 +0000)]
Fix use-after-free of temp in gbfile.  That gets Ubuntu back to a happy place.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4301 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMore fixes in tpo teardown; don't double destruct waypoint.
robertlipe@gmail.com [Sun, 10 Feb 2013 03:37:05 +0000 (03:37 +0000)]
More fixes in tpo teardown; don't double destruct waypoint.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4300 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoCorrect mismatched ctor/xfree in tpo.
robertlipe@gmail.com [Sun, 10 Feb 2013 03:03:54 +0000 (03:03 +0000)]
Correct mismatched ctor/xfree in tpo.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4299 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoCorrect mismatched constructor/xfree pair in hsa_ndv.
robertlipe@gmail.com [Sun, 10 Feb 2013 03:01:43 +0000 (03:01 +0000)]
Correct mismatched constructor/xfree pair in hsa_ndv.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4298 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoSplit classic-1 test entries up a bit
robertlipe@gmail.com [Sun, 10 Feb 2013 03:00:40 +0000 (03:00 +0000)]
Split classic-1 test entries up a bit

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4297 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoFORCE should not be a PHONY target, it is a prerequisite of real targets.
tsteven4 [Sat, 9 Feb 2013 23:24:58 +0000 (23:24 +0000)]
FORCE should not be a PHONY target, it is a prerequisite of real targets.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4296 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoDeclare PHONY targets.
tsteven4 [Sat, 9 Feb 2013 22:48:55 +0000 (22:48 +0000)]
Declare PHONY targets.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4295 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoPropagate find_vec const-ness upstream.
robertlipe [Sat, 9 Feb 2013 22:00:50 +0000 (22:00 +0000)]
Propagate find_vec const-ness upstream.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4294 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAnother const change in vecs.
robertlipe [Sat, 9 Feb 2013 21:56:02 +0000 (21:56 +0000)]
Another const change in vecs.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4293 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMore const-ipation changes in vecs.cc
robertlipe [Sat, 9 Feb 2013 19:38:10 +0000 (19:38 +0000)]
More const-ipation changes in vecs.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4292 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoTweak include styles for QtCore.
robertlipe [Sat, 9 Feb 2013 18:50:53 +0000 (18:50 +0000)]
Tweak include styles for QtCore.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4291 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMechanical warning cleanups in tpo.cc
robertlipe [Sat, 9 Feb 2013 06:22:54 +0000 (06:22 +0000)]
Mechanical warning cleanups in tpo.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4290 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMisc. minor mechanical changes to reduce warning angst.
robertlipe [Sat, 9 Feb 2013 06:16:37 +0000 (06:16 +0000)]
Misc. minor mechanical changes to reduce warning angst.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4289 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoProvide overloaded helpers to gbfile to make it more forgiving of QString arguments.
robertlipe [Sat, 9 Feb 2013 06:00:22 +0000 (06:00 +0000)]
Provide overloaded helpers to gbfile to make it more forgiving of QString arguments.
Minor warning cleanups.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4288 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoSketch in what a "real" XML writer might look like using QXmlStreamWriter.
robertlipe [Sat, 9 Feb 2013 05:24:52 +0000 (05:24 +0000)]
Sketch in what a "real" XML writer might look like using QXmlStreamWriter.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4287 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoGTS Trackmaker: Fix harmless cppcheck complaint.
tsteven4 [Sat, 9 Feb 2013 00:11:05 +0000 (00:11 +0000)]
GTS Trackmaker: Fix harmless cppcheck complaint.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4286 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoStart moving geocache data to a class. It's complicated.
robertlipe [Fri, 8 Feb 2013 07:06:48 +0000 (07:06 +0000)]
Start moving geocache data to a class.  It's complicated.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4285 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoUse the correct qmake for cross builds. Extra Win32 libs needed for newer
robertlipe [Thu, 7 Feb 2013 20:07:11 +0000 (20:07 +0000)]
Use the correct qmake for cross builds.  Extra Win32 libs needed for newer
Qt builds from MXE.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4284 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoEliminate redundant -I of srcdir.
robertlipe [Thu, 7 Feb 2013 01:32:07 +0000 (01:32 +0000)]
Eliminate redundant -I of srcdir.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4283 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoBetter handling of strptime being in C, but used by C++.
robertlipe [Wed, 6 Feb 2013 22:48:27 +0000 (22:48 +0000)]
Better handling of strptime being in C, but used by C++.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4282 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMore Windows-specific C->C++ explicit casts.
robertlipe [Wed, 6 Feb 2013 20:04:54 +0000 (20:04 +0000)]
More Windows-specific C->C++ explicit casts.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4281 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd some of the mechanical casts for gbser_win.cc.
robertlipe [Wed, 6 Feb 2013 19:50:27 +0000 (19:50 +0000)]
Add some of the mechanical casts for gbser_win.cc.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4280 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMove url_link and utf_string to be more C++-ish.
robertlipe [Wed, 6 Feb 2013 06:55:28 +0000 (06:55 +0000)]
Move url_link and utf_string to be more C++-ish.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4279 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoRegenerate configure.
robertlipe [Tue, 5 Feb 2013 20:08:29 +0000 (20:08 +0000)]
Regenerate configure.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4278 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoAdd workaround for MacPorts' mutant build/install of Qt frameworks.
robertlipe [Tue, 5 Feb 2013 20:00:45 +0000 (20:00 +0000)]
Add workaround for MacPorts' mutant build/install of Qt frameworks.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4277 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoUpdate mkicondoc.
robertlipe [Fri, 1 Feb 2013 18:26:52 +0000 (18:26 +0000)]
Update mkicondoc.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4276 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoDelete dead pstrdup from util.cc
robertlipe [Fri, 1 Feb 2013 18:14:31 +0000 (18:14 +0000)]
Delete dead pstrdup from util.cc

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4275 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoMinor style changes to reduce scope. cppcheck is pretty impressive.
robertlipe [Fri, 1 Feb 2013 18:01:55 +0000 (18:01 +0000)]
Minor style changes to reduce scope.  cppcheck is pretty impressive.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4274 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoSilence the 'illegal byte sequence' on Mountain Lion. We're invoking sed
robertlipe [Tue, 29 Jan 2013 20:51:17 +0000 (20:51 +0000)]
Silence the 'illegal byte sequence' on Mountain Lion.  We're invoking sed
and if LANG is en_US.UTF-8 (the default) sed complains about the invalid UTF
encodings.  Just force it to C for this DOP test and back.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4273 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoStart Sketching in replacement for the HAS/SET/-99999 hack we've used for years.
robertlipe@gmail.com [Mon, 28 Jan 2013 05:28:00 +0000 (05:28 +0000)]
Start Sketching in replacement for the HAS/SET/-99999 hack we've used for years.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4272 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoTweak dependency generator. Rebuild deps.
robertlipe@gmail.com [Mon, 28 Jan 2013 02:56:56 +0000 (02:56 +0000)]
Tweak dependency generator.  Rebuild deps.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4271 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agoDon't use QDateTime to parse XML times just yet.
robertlipe@gmail.com [Mon, 28 Jan 2013 01:13:04 +0000 (01:13 +0000)]
Don't use QDateTime to parse XML times just yet.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4270 f51c46e8-681c-474f-0cfe-069cfd0219fb

13 years agofix error counting in testo.
tsteven4 [Sun, 27 Jan 2013 23:10:20 +0000 (23:10 +0000)]
fix error counting in testo.

git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4269 f51c46e8-681c-474f-0cfe-069cfd0219fb